package org.dairy.farms.model;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

/**
 * Created by IntelliJ IDEA.
 * User: gduggira
 * Date: Jul 13, 2011
 * Time: 3:34:06 PM
 */
@Entity
@DiscriminatorValue(value = "LACTATION_REVENUE")
public class LactationRevenue extends Revenue{
    /*@OneToOne(mappedBy = "lactationRevenue", cascade = CascadeType.ALL)
    private Lactation lactation;

    public Lactation getLactation() {
        return lactation;
    }

    public void setLactation(Lactation lactation) {
        this.lactation = lactation;
    }*/
}
